﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="Report" targetNamespace="http://tempuri.org/Report.xsd" xmlns:mstns="http://tempuri.org/Report.xsd" xmlns="http://tempuri.org/Report.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="NiaziMembership" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="NiaziMembership (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.NiaziMembership.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OrderReportTableAdapter" GeneratorDataComponentClassName="OrderReportTableAdapter" Name="OrderReport" UserDataComponentName="OrderReportTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="NiaziMembership (Web.config)" DbObjectName="Niazi_CRM.dbo.OrderReport" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT     OrderReport.*
FROM         OrderReport</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Airlines" DataSetColumn="Airlines" />
              <Mapping SourceColumn="Id" DataSetColumn="Id" />
              <Mapping SourceColumn="SourceCityName" DataSetColumn="SourceCityName" />
              <Mapping SourceColumn="DestinationCityName" DataSetColumn="DestinationCityName" />
              <Mapping SourceColumn="Newspaper" DataSetColumn="Newspaper" />
              <Mapping SourceColumn="OrderDate" DataSetColumn="OrderDate" />
              <Mapping SourceColumn="TotalPrice" DataSetColumn="TotalPrice" />
              <Mapping SourceColumn="Discount" DataSetColumn="Discount" />
              <Mapping SourceColumn="etcPrice" DataSetColumn="etcPrice" />
              <Mapping SourceColumn="TaxPrice" DataSetColumn="TaxPrice" />
              <Mapping SourceColumn="TransportPrice" DataSetColumn="TransportPrice" />
              <Mapping SourceColumn="Weight" DataSetColumn="Weight" />
              <Mapping SourceColumn="StampPrice" DataSetColumn="StampPrice" />
              <Mapping SourceColumn="OrderPrice" DataSetColumn="OrderPrice" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="Quantity" DataSetColumn="Quantity" />
              <Mapping SourceColumn="PackagingPrice" DataSetColumn="PackagingPrice" />
              <Mapping SourceColumn="UnitPrice" DataSetColumn="UnitPrice" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="Report" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="Report" msprop:Generator_UserDSName="Report">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="OrderReport" msprop:Generator_TableClassName="OrderReportDataTable" msprop:Generator_TableVarName="tableOrderReport" msprop:Generator_TablePropName="OrderReport" msprop:Generator_RowDeletingName="OrderReportRowDeleting" msprop:Generator_UserTableName="OrderReport" msprop:Generator_RowChangingName="OrderReportRowChanging" msprop:Generator_RowEvHandlerName="OrderReportRowChangeEventHandler" msprop:Generator_RowDeletedName="OrderReportRowDeleted" msprop:Generator_RowEvArgName="OrderReportRowChangeEvent" msprop:Generator_RowChangedName="OrderReportRowChanged" msprop:Generator_RowClassName="OrderReportRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Airlines" msprop:Generator_ColumnVarNameInTable="columnAirlines" msprop:Generator_ColumnPropNameInRow="Airlines" msprop:Generator_ColumnPropNameInTable="AirlinesColumn" msprop:Generator_UserColumnName="Airlines">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:long" />
              <xs:element name="SourceCityName" msprop:Generator_ColumnVarNameInTable="columnSourceCityName" msprop:Generator_ColumnPropNameInRow="SourceCityName" msprop:Generator_ColumnPropNameInTable="SourceCityNameColumn" msprop:Generator_UserColumnName="SourceCityName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DestinationCityName" msprop:Generator_ColumnVarNameInTable="columnDestinationCityName" msprop:Generator_ColumnPropNameInRow="DestinationCityName" msprop:Generator_ColumnPropNameInTable="DestinationCityNameColumn" msprop:Generator_UserColumnName="DestinationCityName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Newspaper" msprop:Generator_ColumnVarNameInTable="columnNewspaper" msprop:Generator_ColumnPropNameInRow="Newspaper" msprop:Generator_ColumnPropNameInTable="NewspaperColumn" msprop:Generator_UserColumnName="Newspaper">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="OrderDate" msprop:Generator_ColumnVarNameInTable="columnOrderDate" msprop:Generator_ColumnPropNameInRow="OrderDate" msprop:Generator_ColumnPropNameInTable="OrderDateColumn" msprop:Generator_UserColumnName="OrderDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="TotalPrice" msprop:Generator_ColumnVarNameInTable="columnTotalPrice" msprop:Generator_ColumnPropNameInRow="TotalPrice" msprop:Generator_ColumnPropNameInTable="TotalPriceColumn" msprop:Generator_UserColumnName="TotalPrice" type="xs:long" />
              <xs:element name="Discount" msprop:Generator_ColumnVarNameInTable="columnDiscount" msprop:Generator_ColumnPropNameInRow="Discount" msprop:Generator_ColumnPropNameInTable="DiscountColumn" msprop:Generator_UserColumnName="Discount" type="xs:long" />
              <xs:element name="etcPrice" msprop:Generator_ColumnVarNameInTable="columnetcPrice" msprop:Generator_ColumnPropNameInRow="etcPrice" msprop:Generator_ColumnPropNameInTable="etcPriceColumn" msprop:Generator_UserColumnName="etcPrice" type="xs:long" />
              <xs:element name="TaxPrice" msprop:Generator_ColumnVarNameInTable="columnTaxPrice" msprop:Generator_ColumnPropNameInRow="TaxPrice" msprop:Generator_ColumnPropNameInTable="TaxPriceColumn" msprop:Generator_UserColumnName="TaxPrice" type="xs:long" />
              <xs:element name="TransportPrice" msprop:Generator_ColumnVarNameInTable="columnTransportPrice" msprop:Generator_ColumnPropNameInRow="TransportPrice" msprop:Generator_ColumnPropNameInTable="TransportPriceColumn" msprop:Generator_UserColumnName="TransportPrice" type="xs:long" />
              <xs:element name="Weight" msprop:Generator_ColumnVarNameInTable="columnWeight" msprop:Generator_ColumnPropNameInRow="Weight" msprop:Generator_ColumnPropNameInTable="WeightColumn" msprop:Generator_UserColumnName="Weight" type="xs:double" />
              <xs:element name="StampPrice" msprop:Generator_ColumnVarNameInTable="columnStampPrice" msprop:Generator_ColumnPropNameInRow="StampPrice" msprop:Generator_ColumnPropNameInTable="StampPriceColumn" msprop:Generator_UserColumnName="StampPrice" type="xs:long" />
              <xs:element name="OrderPrice" msprop:Generator_ColumnVarNameInTable="columnOrderPrice" msprop:Generator_ColumnPropNameInRow="OrderPrice" msprop:Generator_ColumnPropNameInTable="OrderPriceColumn" msprop:Generator_UserColumnName="OrderPrice" type="xs:long" />
              <xs:element name="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_UserColumnName="Description">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Quantity" msprop:Generator_ColumnVarNameInTable="columnQuantity" msprop:Generator_ColumnPropNameInRow="Quantity" msprop:Generator_ColumnPropNameInTable="QuantityColumn" msprop:Generator_UserColumnName="Quantity" type="xs:double" />
              <xs:element name="PackagingPrice" msprop:Generator_ColumnVarNameInTable="columnPackagingPrice" msprop:Generator_ColumnPropNameInRow="PackagingPrice" msprop:Generator_ColumnPropNameInTable="PackagingPriceColumn" msprop:Generator_UserColumnName="PackagingPrice" type="xs:long" />
              <xs:element name="UnitPrice" msprop:Generator_ColumnVarNameInTable="columnUnitPrice" msprop:Generator_ColumnPropNameInRow="UnitPrice" msprop:Generator_ColumnPropNameInTable="UnitPriceColumn" msprop:Generator_UserColumnName="UnitPrice" type="xs:long" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:OrderReport" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
  </xs:element>
</xs:schema>